<twig:GenericElement element="div" class="divComponent">
    {{ outerScope.this.foo }}
</twig:GenericElement>
